package com.yc.juextends;

/**
 * Title:<br>
 * Description: <br>
 * Author:陈圆(chenyuan@bosssoft.com.cn) <br>
 * Date:2020/9/2
 */
public class Car {

    private int batch;

    public Car(int batch) {
        this.batch = batch;
    }

    public static void main(String[] args) {
        Car car1 = new Car(1);
        Car car2 = new Car(1);

        System.out.println(car1.equals(car2));
        System.out.println(car1 == car2);

//        Object o1 = new Object();
//        Object o2 = new Object();
//
//        System.out.println(o1 == o2);  // false
//        System.out.println(o1.equals(o2)); // false

//        StringBuilder sb = new StringBuilder(sourceSQL);
//        sb.append(" limit ");
//        sb.append(limit);
//        sb.append(" offset ");
//        sb.append(offset - 1);

        // limit 20  offset 1   表示 第一页 每页 20条  ==》 limit 20 0
        //

    }
}

